Overview

To remote compile and debug, you must select a target platform and specify the platform settings for it, i.e., target machine name, user name, sniff installation directory on the target platform (if applicable) in the Platform view of your Preferences. You can also specify other general platform settings if need be. These settings are stored in the following directory:

- On Unix:

$HOME/.sniffrc/Preferences/Platforms/<Platform_name>.sniff
- On Windows:
%SNiFF_DIR%\Profiles\<Username>\Preferences\Platforms\<Plat form_name>
.sniff
So for each target platform, for which you define platform settings, a new file is created.
Next, in the Working Environments tool, you will assign a target platform to each Private Working Environment or Shared Object Working Environment. If you don't assign a target platform to a particular working environment, the default platform will be used. Information about which working environment is assigned to which platform is stored in:

<your_sniff_installation_directory>/workingenvs/WorkingEnvData.sniff
Thus when you open a project in a working environment and compile it, SNiFF+ uses the information in the platform settings to compile and debug. This makes it possible for you to compile and debug locally or remotely as desired.